package com.meituan.model;


import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;


public class GoodsEntity {
    private int goodsId;
    private int shopId;
    private int classifyId;
    private String goodsName;
    private String goodsImg;
    private Double goodsPrice;
    private String goodsCharacteristics;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date registerTime;

    public int getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(int goodsId) {
        this.goodsId = goodsId;
    }

    public int getShopId() {
        return shopId;
    }

    public void setShopId(int shopId) {
        this.shopId = shopId;
    }

    public int getClassifyId() {
        return classifyId;
    }

    public void setClassifyId(int classifyId) {
        this.classifyId = classifyId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getGoodsImg() {
        return goodsImg;
    }

    public void setGoodsImg(String goodsImg) {
        this.goodsImg = goodsImg;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getGoodsCharacteristics() {
        return goodsCharacteristics;
    }

    public void setGoodsCharacteristics(String goodsCharacteristics) {
        this.goodsCharacteristics = goodsCharacteristics;
    }

    public Date getRegisterTime() {
        return registerTime;
    }

    public void setRegisterTime(Date registerTime) {
        this.registerTime = registerTime;
    }

    @Override
    public String toString() {
        return "GoodsEntity{" +
                "goodsId=" + goodsId +
                ", shopId=" + shopId +
                ", classifyId=" + classifyId +
                ", goodsName='" + goodsName + '\'' +
                ", goodsImg='" + goodsImg + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", goodsCharacteristics='" + goodsCharacteristics + '\'' +
                ", registerTime=" + registerTime +
                '}';
    }
}
